.class Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;
.super Ljava/lang/Object;
.source "NotificationDetailsActivity.java"

# interfaces
.implements Landroidx/palette/graphics/Palette$PaletteAsyncListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->onLoadingComplete(Ljava/lang/String;Landroid/view/View;Landroid/graphics/Bitmap;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;)V
    .locals 0

    .line 95
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;->this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onGenerated(Landroidx/palette/graphics/Palette;)V
    .locals 4

    .line 100
    new-instance v0, Landroid/util/TypedValue;

    invoke-direct {v0}, Landroid/util/TypedValue;-><init>()V

    .line 101
    iget-object v1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;->this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;

    iget-object v1, v1, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-virtual {v1}, Landroid/app/Activity;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object v1

    const v2, 0x7f0400bc

    const/4 v3, 0x1

    invoke-virtual {v1, v2, v0, v3}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z

    .line 104
    iget v0, v0, Landroid/util/TypedValue;->data:I

    invoke-virtual {p1, v0}, Landroidx/palette/graphics/Palette;->getDominantColor(I)I

    move-result p1

    .line 107
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;->this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$200(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/CollapsingToolbarLayout;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/google/android/material/appbar/CollapsingToolbarLayout;->setContentScrimColor(I)V

    .line 109
    sget p1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v0, 0x15

    if-lt p1, v0, :cond_0

    .line 110
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;->this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;

    iget-object p1, p1, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-virtual {p1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;->this$1:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-virtual {v0}, Landroid/app/Activity;->getBaseContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f060151

    invoke-static {v0, v1}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/Window;->setStatusBarColor(I)V

    :cond_0
    return-void
.end method
